#ifndef SERVER_H_
#define SERVER_H_
#include "../shared/msgQueue/Queue.h"
#include "../shared/message/Message.h"
#include "personTable/PersonTable.h"
#include <vector>

class Server {
private:
	Queue<Message> queue;
	Message recvBuffer, sendBuffer;
	PersonTable table;
public:
	Server();
	~Server();
	void stop();
	void run();
	void recvRequest();
	void processRequest();
	void answerRequest() const;
};



#endif /* SERVER_H_ */
